package com.itheima.health.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_order")
public class OrderMP implements Serializable {

    public static final String ORDERTYPE_TELEPHONE = "电话预约";

    public static final String ORDERTYPE_WEIXIN = "微信预约";

    public static final String ORDERSTATUS_YES = "已到诊";

    public static final String ORDERSTATUS_NO = "未到诊";

    private Integer id;

    @TableField("member_id")
    private Integer memberId;
    @TableField("orderDate")
    private Date orderDate;
    @TableField("orderType")
    private String orderType;
    @TableField("orderStatus")
    private String orderStatus;

    @TableField("setmeal_id")
    private Integer setmealId;
}
